/* MailProcess.h */
#ifndef _MAILPROCESS_H_
#define _MAILPROCESS_H_

typedef struct MailInfo
{
	unsigned int sorip;
	unsigned short sorport;
	unsigned int desip;
	unsigned int desport;
	unsigned int mailsize;
	char * mailcontent;
}mailinfo;

int MailProcess(u_char *head,char * buffer,unsigned int mailsize);

u_int strtonum2(u_char * cnum,u_int low,u_int high);

#endif //_MAILPROCESS_H_
